package cn.com.cifi.mars.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 货值审批核心指标详情表
 * </p>
 *
 * @author yyd
 * @since 2021-07-07
 */
@TableName("t_price_core_detail")
public class PriceCoreDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 流程实例id
     */
    private String flowId;

    /**
     * 项目Id
     */
    private String projectId;
    
    /**
     * 项目Id
     */
    private String versionId;

    /**
     * 类型 ("equityPrice","权益前货值"),("equityBeforeProfit","权益前创造利润额"),("equityAfterProfit","权益后创造利润额"),("createProfit","创造利润率"),("meltingIRR","非融IRR"),("meltingInvestment","非融静态投资回收期")
     */
    private String type;

    /**
     * 利润率变动预警
     */
    private BigDecimal profitChange;

    /**
     * 投资版
     */
    private BigDecimal investment;

    /**
     * 战规版
     */
    private BigDecimal strategy;

    /**
     * 集团审批版
     */
    private BigDecimal group;

    /**
     * 调整前
     */
    private BigDecimal before;

    /**
     * 调整后
     */
    private BigDecimal after;

    /**
     * 是否集团审片(0.否 1.是)
     */
    private Integer isGroup;

    /**
     * 数据来源（供销存/销管）
     */
    private String source;

    /**
     * 是否删除(0.否 1.是)
     */
    private Integer isDelete;
    
    /**
     * 是否删除(0.否 1.是)
     */
    private Integer isNewst;

    /**
     * 创建人员
     */
    private String createBy;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建人员
     */
    private String updateBy;

    /**
     * 创建时间
     */
    private LocalDateTime updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getFlowId() {
        return flowId;
    }

    public void setFlowId(String flowId) {
        this.flowId = flowId;
    }
    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }
    
    public String getVersionId() {
		return versionId;
	}

	public void setVersionId(String versionId) {
		this.versionId = versionId;
	}

	public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    public BigDecimal getProfitChange() {
        return profitChange;
    }

    public void setProfitChange(BigDecimal profitChange) {
        this.profitChange = profitChange;
    }
    public BigDecimal getInvestment() {
        return investment;
    }

    public void setInvestment(BigDecimal investment) {
        this.investment = investment;
    }
    public BigDecimal getStrategy() {
        return strategy;
    }

    public void setStrategy(BigDecimal strategy) {
        this.strategy = strategy;
    }
    public BigDecimal getGroup() {
        return group;
    }

    public void setGroup(BigDecimal group) {
        this.group = group;
    }
    public BigDecimal getBefore() {
        return before;
    }

    public void setBefore(BigDecimal before) {
        this.before = before;
    }
    public BigDecimal getAfter() {
        return after;
    }

    public void setAfter(BigDecimal after) {
        this.after = after;
    }
    public Integer getIsGroup() {
        return isGroup;
    }

    public void setIsGroup(Integer isGroup) {
        this.isGroup = isGroup;
    }
    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
    
    public Integer getIsNewst() {
		return isNewst;
	}

	public void setIsNewst(Integer isNewst) {
		this.isNewst = isNewst;
	}

	public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

}
